/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.inv.poi.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.dian.common.vo.BaseVO;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 库存初始化导出主类VO
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-06-29 15:53:12
 */
@Data
@ExcelTarget("GoodsStockInitExportVO")
public class GoodsStockInitExportVO extends BaseVO  implements IExcelModel  {
	private static final long serialVersionUID = 1L;
    /**
     * 启用年份
     */
    @Excel(name = "年份",isImportField = "true_st" )
    @NotBlank(message = "年份不能为空")
    private String year;

    /**
     * 月份
     */
    @Excel(name = "月份",isImportField = "true_st" )
    @NotBlank(message = "月份不能为空")
    private String month;


    /**
     * 仓库编码;来源于Base_Warehouse.Warehouse_Code
     */
    @Excel(name = "仓库编码",isImportField = "true_st" )
    @NotBlank(message = "仓库编码不能为空")
    private String warehouseCode;


    /**
     * 仓库名称;来源于Base_Warehouse.Warehouse_Name
     */
    @Excel(name = "仓库名称",isImportField = "true_st")
    private String warehouseName;

    /**
	 * 商品编码;来源于base_goods.goods_code
	 */
    @Excel(name = "商品编码",width = 30,isImportField = "true_st")
    @NotBlank(message = "商品编码不能为空")
    private String goodsCode;


    /**
	 * 商品名称;来源于base_goods.name
	 */
    @Excel(name = "商品名称",width =50,isImportField = "true_st")
    private String goodsName;


    /**
	 * 商品型号;来源于base_goods.goods_model
	 */
    @Excel(name = "商品型号",isImportField = "true_st")
    private String goodsModel;


    /**
	 * 商品规格;来源于base_goods.goods_space
	 */
    @Excel(name = "商品规格",isImportField = "true_st")
    private String goodsSpec;

    /**
	 * 库存数量
	 */
    @Excel(name = "库存数量",isImportField = "true_st")
    @NotNull(message="库存数量不能为空")
    private BigDecimal qtyNum;


    /**
	 * 计量单位;来源于base_uom.name_name
	 */
    @Excel(name = "计量单位",isImportField = "true_st")
    private String qtyUomName;

    /**
     * 换算单位1
     */
    @Excel(name = "件换算",isImportField = "true_st")
    private BigDecimal converUnit1;
    /**
	 * 辅助数量
	 */
    @NotNull(message="辅助数量不能为空")
    @Excel(name = "辅助数量",isImportField = "true_st")
    private BigDecimal auxNum;


    /**
	 * 计量单位;来源于base_uom.name_name
	 */
    @Excel(name = "计量单位",isImportField = "true_st")
    private String auxUomName;

    /**
     * 换算单位1
     */
    @Excel(name = "片换算",isImportField = "true_st")
    private BigDecimal converUnit2;

    /**
     * 单价;来源于base_uom.name_name
     */
    @Excel(name = "单价",isImportField = "true_st")
    @NotNull(message="单价不能为空")
    private BigDecimal price;


    /**
     * errorMsg接受下面重。
     */
    private String errorMsg;


}
